Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Printing Extensions and Drivers /


Chapter 5 - Printing Functions for Message Overrides

This chapter describes the printing functions that you can call only from within your overrides of the printing messages. These functions perform a variety of useful operations. You need to call many of these functions when implementing a QuickDraw GX printer driver, and you can call many of them when writing a QuickDraw GX printing extension.

Before reading this chapter, you need to understand how to write QuickDraw GX printing extensions and printer drivers, as described in the chapters "Printing Extensions" and "Printer Drivers" in this book. You also need to understand the QuickDraw GX printing architecture, which is described in Inside Macintosh: QuickDraw GX Printing.

This chapter begins with a brief overview of the QuickDraw GX printing functions and then describes how to use them to perform tasks related to implementing a printing extension or printer driver. The section "Printing Functions Reference" beginning on page 5-13, provides a description for each of the functions and for each of the data types that is used with the functions.


Chapter Contents
About the Printing Functions
Using the Printing Functions
Displaying Status Information and the Printing Alert Boxes
Managing Paper Trays and Their Paper Types
Storing and Accessing Data Associated With a Desktop Printer
Providing Application Imaging Options
Accessing Driver Data
Interfacing With the Chooser
Using the Message Cleanup Functions
Segmenting Your Driver Code
Printing Functions Reference
Constants and Data Types
Tray Index Type
Tray Mapping Modes
Job Format Mode Table
Job Format Modes
The Panel Setup Structure
Printing Panel Kinds
Functions
Reporting Information to the User
Managing Paper Trays
Storing and Accessing Desktop Printer Data
Adding a Panel to a Print Dialog Box
Working With Application Imaging Options
Printing Control Functions
Handling Error Conditions in a Message Override
Segmenting Message Override Code
Summary of Printing Functions
Constants and Data Types
Tray Index Type
Tray Mapping Modes
Job Format Modes
Job Format Mode Table
The Panel Setup Structure
Printing Panel Kinds
Functions
Reporting Information to the User
Managing Paper Trays
Storing and Accessing Desktop Printer Data
Adding a Panel to a Print Dialog Box
Working With Application Imaging Options
Printing Control Functions
Handling Error Conditions in a Message
Segmenting Message Override Code

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help